package com.example.tool.bean.wcaiexcel;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class RenameDocRequest {
    private String docid;
    private String formid;
    private String new_name;

    // getters and setters
    // 构造方法
    public RenameDocRequest(String docid, String formid, String newName) {
        if (docid != null && formid != null) {
            throw new IllegalArgumentException("docid和formid只能填其中一个");
        }
        this.docid = docid;
        this.formid = formid;
        this.new_name = newName;
    }
}
